package tech.aistar.entity;

import java.util.Date;

/**
 * Created by Administrator on 2019/10/14.
 */
public class Point {
    private Integer Id;
    private Integer type;
    private Integer postId;
    private Integer userId;
    private Integer status;
    private Date time;
    private Date delTime;

    public Point() {
    }

    public Point(Integer id, Integer type, Integer postId, Integer userId, Integer status, Date time, Date delTime) {
        Id = id;
        this.type = type;
        this.postId = postId;
        this.userId = userId;
        this.status = status;
        this.time = time;
        this.delTime = delTime;
    }

    public Integer getId() {
        return Id;
    }

    public void setId(Integer id) {
        Id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getDelTime() {
        return delTime;
    }

    public void setDelTime(Date delTime) {
        this.delTime = delTime;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Point{");
        sb.append("Id=").append(Id);
        sb.append(", type=").append(type);
        sb.append(", postId=").append(postId);
        sb.append(", userId=").append(userId);
        sb.append(", status=").append(status);
        sb.append(", time=").append(time);
        sb.append(", delTime=").append(delTime);
        sb.append('}');
        return sb.toString();
    }
}
